package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.AVipTrans;
import com.ruoyi.system.service.IAVipTransService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/xcx/aVipTrans")
public class XcxAVipTrans extends BaseController {

    @Autowired
    private IAVipTransService aVipTransService;

    /**
     * 查询转让vip列表
     */
    @GetMapping("/list")
    public AjaxResult list() {
        return success(aVipTransService.selectAVipTransXcxList());
    }
}
